//
//  AppDelegate.h
//  YouthOlympic2014
//
//  Created by xiangpaopao on 14-6-13.
//  Copyright (c) 2014年 mitian. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BMapKit.h"
#import <CoreLocation/CoreLocation.h>
#import <CoreBluetooth/CoreBluetooth.h>
#import "HCCustomLoad.h"


#define theApp ((AppDelegate *)[[UIApplication sharedApplication] delegate])


@interface AppDelegate : UIResponder <UIApplicationDelegate,BMKGeneralDelegate,CLLocationManagerDelegate,CBCentralManagerDelegate>{
    UIView *indicatorView;
    UIView *tipView;
    HCCustomLoad *loadView;
    CLLocationManager *locationManager;
}

@property(nonatomic, assign) int flag;

@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) CBCentralManager *bluetoothManager;

-(BOOL)isAppReachable;

@end

AppDelegate *app;